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