Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extracting data with R in jupyterlab #41

Open
AlinaO90 opened this issue Aug 9, 2023 · 0 comments
Open

Extracting data with R in jupyterlab #41

AlinaO90 opened this issue Aug 9, 2023 · 0 comments

Comments

@AlinaO90
Copy link

AlinaO90 commented Aug 9, 2023

Hi I am trying to follow this notebook for extracting data from the dataset : dx_extract_dataset_r.ipynb

But when I try the following lines of code:

cmd <- paste("dx extract_dataset", dataset, " --fields", field_list, "-o extracted_data.csv")
system(cmd)

data_df <- read_csv("extracted_data.csv", show_col_types = FALSE)
head(data_df)

I get an error:

Error: 'extracted_data.csv' does not exist in current working directory ('/opt/notebooks').

Even when I change the output to the following /mnt/project/Outs/extracted_data.csv I get the same error.

How can I extract the data ? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant