[ 
https://issues.apache.org/jira/browse/ARROW-17332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17646746#comment-17646746
 ] 

Lucas Mation edited comment on ARROW-17332 at 12/13/22 5:36 PM:
----------------------------------------------------------------

I am having a hard time replicating the error. 

I added a folder with an accent, but still was able to open the file

```

f <- tempfile(fileext = "Público")
write.csv(mtcars, f, row.names = FALSE)

dir.create('Público')
f2 <- "./Público/Público"
write.csv(mtcars, f2, row.names = FALSE)

#this should fail based on the issue report
mtcars2 <- read_csv_arrow(f)
mtcars3 <- read_csv_arrow(f2)

#both of them worked

```

I don't know what changed, if anything, between now and then.

 


was (Author: JIRAUSER294051):
I am having a hard time replicating the error. 

I added a folder with an accent, but still was able to open the file

```

f <- tempfile(fileext = "Público")
write.csv(mtcars, f, row.names = FALSE)

dir.create('Público')
f2 <- "./Público/Público"
write.csv(mtcars, f2, row.names = FALSE)

#this should fail based on the issue report
mtcars2 <- read_csv_arrow(f)
mtcars3 <- read_csv_arrow(f2)

#both of them worked

```

I don't what changed, if anything, between now and then.

 

> [R] error parsing folder path with accent ('c:/Público') in read_csv_arrow
> --------------------------------------------------------------------------
>
>                 Key: ARROW-17332
>                 URL: https://issues.apache.org/jira/browse/ARROW-17332
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>            Reporter: Lucas Mation
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 11.0.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> I am a user trying the R arrow package on a windows machine. 
> To reproduce create a folder name containing a character with Latin accents
> ```
> libary(arrow)
> p <- 'c:/Público'  
> b <- read_csv_arrow(p)
> Error: IOError: Failed to open local file 'c:/Público'. Detail: [Windows 
> error 5] Access is denied.
> ```



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to