R sample file
r_sample_file_1MB.r
1.0 MB
application/octet-stream
SHA256 verified
File details
Filename
r_sample_file_1MB.rSize1.0 MB (1048576 bytes)
MIME type
application/octet-streamExtension
.rSHA256
120d4a62801ceaae1ad2e77d928a2cef143133e3ddb438d1f76d82b7e632947bDownload commands
Use in scripts and tests
curl -L -o r_sample_file_1MB.r \
https://samplefile.com/samples/download/code/r/r_sample_file_1MB.r/
wget -O r_sample_file_1MB.r \
https://samplefile.com/samples/download/code/r/r_sample_file_1MB.r/
import requests
url = "https://samplefile.com/samples/download/code/r/r_sample_file_1MB.r/"
resp = requests.get(url)
with open("r_sample_file_1MB.r", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/code/r/r_sample_file_1MB.r/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("r_sample_file_1MB.r", buf);
# Download and verify SHA256
curl -L -o r_sample_file_1MB.r https://samplefile.com/samples/download/code/r/r_sample_file_1MB.r/
echo "120d4a62801ceaae1ad2e77d928a2cef143133e3ddb438d1f76d82b7e632947b r_sample_file_1MB.r" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/code/r/r_sample_file_1MB.r/").content
assert hashlib.sha256(data).hexdigest() == "120d4a62801ceaae1ad2e77d928a2cef143133e3ddb438d1f76d82b7e632947b"
More R files
Other R Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
r_sample_file_200KB.r |
200.0 KB | a70ec9e63d473640… |
Download |
r_sample_file_500KB.r |
500.0 KB | 88f68bff7d8027ca… |
Download |
r_sample_file_50KB.r |
50.0 KB | 28347297b84be9d5… |
Download |
Learn more