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

".." in cognostic name breaks Trelliscope #118

Open
jrounds opened this issue Aug 25, 2015 · 1 comment
Open

".." in cognostic name breaks Trelliscope #118

jrounds opened this issue Aug 25, 2015 · 1 comment

Comments

@jrounds
Copy link

jrounds commented Aug 25, 2015

This can probably be filed under "Well don't do that?" But it is something that cost me like 2 hours of my life, so I thought I would mention it =). If you are wondering how I did that it was a gsub to clean-up a colname and I accidentally left an extra dot in the name.

This is the recreatable for me. You view and try to look at it and on my computer nothing happens. Cognostics arn't sortable, some interactions work, some don't. etc.

data(iris)
div = divide(iris,by="Species")
cogFn = function(v){
ret = list()
ret[["name01.."]] = cog(1)
return(ret)
}
panelFn = function(v){
plot(1:10)
}
conn = vdbConn("vdb", name = "_", autoYes=TRUE)
makeDisplay(data = div,
name = "Breaking_Telliscope",
cogFn = cogFn,
panelFn = panelFn,
desc = "Breaking Trelliscope With Odd Names",
conn = conn
)
view()

@hafen
Copy link
Contributor

hafen commented Aug 25, 2015

Thanks for pointing this out and sorry about those 2 hours! Landon Sego added some checking along these lines for display names a while back. We should add a check, warning, or conversion for cognostics as well. Would you mind filing an issue on github to this effect?

Thanks,

Ryan

On Aug 25, 2015, at 12:44 AM, jrounds [email protected] wrote:

This can probably be filed under "Well don't do that?" But it is something that cost me like 2 hours of my life, so I thought I would mention it =). If you are wondering how I did that it was a gsub to clean-up a colname and I accidentally left an extra dot in the name.

This is the recreatable for me. You view and try to look at it and on my computer nothing happens. Cognostics arn't sortable, some interactions work, some don't. etc.

data(iris)
div = divide(iris,by="Species")
cogFn = function(v){
ret = list()
ret[["name01.."]] = cog(1)
return(ret)
}
panelFn = function(v){
plot(1:10)
}
conn = vdbConn("vdb", name = "_", autoYes=TRUE)
makeDisplay(data = div,
name = "Breaking_Telliscope",
cogFn = cogFn,
panelFn = panelFn,
desc = "Breaking Trelliscope With Odd Names",
conn = conn
)
view()


Reply to this email directly or view it on GitHub #118.

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

2 participants